<!--
  @author nowind
  @date 2018/10/19 08:59
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>字典数据管理</title>
</head>
<body>

<div class="layui-fluid">

    <blockquote class="layui-elem-quote layui-text">
        <a lay-href="/mapdata/list">字典数据</a>
    </blockquote>

    <div class="layui-card">

        <div class="layui-card-body">

            <form method="post" action="/mapdata/list">
                <div class="layui-form layui-margin-t" th:include="mapdata/_query :: query "></div>
            </form>

            <table class="layui-hide" id="zmn-mapdata-table" lay-filter="zmn-mapdata-table"></table>
            <script type="text/html" id="zmn-mapdata-table-tool">
                <div class="layui-btn-container">
                    <div class="layui-btn-group" th:if="true">
                        <button class="layui-btn layui-btn-sm" lay-event="start">启用</button>
                        <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="stop">停用</button>
                    </div>
                </div>
            </script>
        </div>

    </div>

</div>

<script type="text/javascript" th:inline="javascript">

    var json = {
        hasView: [[${#authPermit.checkPermit('/news/detail.action')}]],
        hasContent: [[${#authPermit.checkPermit('/news/content.action')}]],
        totalCount: [[${vo.totalCount}]],
        items: [[${items}]]
    };

    layui.config({
        base: "/static/js/module/"
    }).extend({
        oms_mapdata: "{/}/js/mapdata/zmn.oms.mapdata.list",
    }).use(['index', 'oms_mapdata']);

</script>
</body>
</html>